# Inscryption preset by notahuman
# https://notabug.org/notahuman/presets

## IMPORTANT: ##
# NFAA must be installed separately, it's not included in the crosire/reshade-shaders repository.
# If any of the shaders below do not exist, you will get a blank screen when launching the game.
# vkBasalt does not have fancy error handling, so you will have to launch from a terminal and look for error lines like "vkBasalt err: failed to load shader file".

# HQ4X de-pixelates the image in exchange for blur. AdaptiveSharpen eliminates the blur from HQ4X in exchange for jagged edges, and NFAA eliminates the jagged edges from AdaptiveSharpen with no tradeoffs.
# Since the game makes heavy use of ultra-dark and ultra-bright pixels at the same time, FakeHDR isn't a good fit here.
# Deband cleans up after MagicBloom, blending the light into the darkness.
# MagicBloom and Deband are optional.
effects = HQ4X:AdaptiveSharpen:NFAA:MagicBloom:Deband

# Source: https://github.com/BlueSkyDefender/AstrayFX
NFAA            = /home/user/.local/share/reshade/AstrayFX/Shaders/NFAA.fx
# Source: https://github.com/crosire/reshade-shaders
FakeHDR         = /usr/share/reshade/shaders/FakeHDR.fx
HQ4X         = /usr/share/reshade/shaders/HQ4X.fx
AdaptiveSharpen = /usr/share/reshade/shaders/AdaptiveSharpen.fx
MagicBloom     = /home/user/.config/reshade/shaders/MagicBloom-optimized.fx
Deband = /usr/share/reshade/shaders/Deband.fx

reshadeTexturePath = "/usr/share/reshade/textures"
reshadeIncludePath = "/usr/share/reshade/shaders"


## HQ4X ##
s=0.823
#s=1.021
#s=1.09
mx=0.1
k=-1.7

## FakeHDR ##
# Setting HDRPower higher makes dark things darker.
HDRPower=1.05
# The difference between radius1 and radius2 decides the peak brightness.
# Setting radius2 higher than radius1 makes bright things brighter.
radius1=0.9666661
radius2=1.0

## NFAA ##
#AA_Adjust=3
#Mask_Adjust=0.53
AA_Adjust=11
Mask_Adjust=0.1

## AdaptiveSharpen ##
curve_height=0.79103
L_compr_low=0.167
L_compr_high=0.36277
D_compr_low=0.727747
D_compr_high=0.688867

## Deband ##
threshold_preset=2
range=53.0

## MagicBloom ##
#fBloom_Intensity=1.990961
fBloom_Intensity=2.59379

# Bloom sensitivity - lower is more sensitive
#fBloom_Threshold=3.169
#fBloom_Threshold=4.7
fBloom_Threshold=6.7
#fBloom_Threshold=8.887
fExposure=0.6067
fAdapt_Speed=0.005

fAdapt_Sensitivity=0.2311
#fAdapt_Sensitivity=0.301493
#fAdapt_Sensitivity=0.4111
#fAdapt_Sensitivity=0.57973
#fAdapt_Sensitivity=0.7

#iAdapt_Precision=0.1
iAdapt_Precision=0.7

depthCapture = off
toggleKey = Insert